﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/MasterPages/ModuleIndex.master"
    AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="DMS.Web.Modules.Home.Index" %>

<%@ Register src="../Statistics/StatByDeptControl.ascx" tagname="StatByDeptControl" tagprefix="uc3" %>
<%@ Register src="../Statistics/StatByDeptTotalControl.ascx" tagname="StatByDeptTotalControl" tagprefix="uc3" %>
<%@ Register src="../Statistics/StatByInsuranceControl.ascx" tagname="StatByInsuranceControl" tagprefix="uc3" %>

<%--<%@ Register Src="~/Common/Controls/UserInfo.ascx" TagName="UserInfo" TagPrefix="uc1" %>
<%@ Register Src="~/Common/Controls/SystemSupport.ascx" TagName="SystemSupport" TagPrefix="uc2" %>
<%@ Register Src="~/Common/Controls/FavLink.ascx" TagName="FavLink" TagPrefix="uc3" %>
<%@ Register Src="~/Common/Controls/HelpFiles.ascx" TagName="HelpFiles" TagPrefix="uc4" %>
<%@ Register Src="~/Common/Controls/UserAlert.ascx" TagName="UserAlert" TagPrefix="uc5" %>
<%@ Register Src="../../Common/Controls/Announcement.ascx" TagName="Announcement"
    TagPrefix="uc6" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
    首页
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="NavigationHolder" runat="server">
    <script type="text/javascript" src="/Resources/Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="/Resources/Scripts/jquery.blockUI.js"></script>
    <script type="text/javascript" src="../../FusionCharts/FusionCharts.js"></script>
    <script type="text/javascript" src="/Resources/Scripts/jscroller-0.4.js"></script>
    <script type="text/javascript" src="/Resources/Scripts/jquery-ui/ui/jquery.ui.core.min.js"></script>
	<script type="text/javascript" src="/Resources/Scripts/jquery-ui/ui/jquery.ui.widget.min.js"></script>
	<script type="text/javascript" src="/Resources/Scripts/jquery-ui/ui/jquery.ui.position.min.js"></script>
	<script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.mouse.min.js"></script>
    <script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.draggable.min.js"></script>
    <script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.button.min.js"></script>
    <script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.dialog.min.js"></script>
    <script src="../../Resources/Scripts/jquery-ui/ui/jquery.ui.autocomplete.min.js"></script>
    <link rel="stylesheet" href="/Resources/Scripts/jquery-ui/themes/cupertino/jquery.ui.all.css">
    <script src="../../Resources/Scripts/easynews/jquery.easynews.js"></script>
    <style type="text/css">
        .ui-autocomplete-loading { background: white url('ui-anim_basic_16x16.gif') right center no-repeat; }
        .ui-autocomplete {
		    max-height: 130px;
		    overflow-y: auto;
		    /* prevent horizontal scrollbar */
		    overflow-x: hidden;
		    /* add padding to account for vertical scrollbar */
		    padding-right: 20px;
	    }
	    /* IE 6 doesn't support max-height
	     * we use height instead, but this forces the menu to always be this tall
	     */
	    * html .ui-autocomplete {
		    height: 130px;
	    }
	    
	    	    /*news*/
	    .news_style{
            display:none;
        }
        .news_show
        {
            background-color: white;
            color:black;
            width:280px;
            height:105px;
            font: normal 100% "Arial", "Lucida Grande",Verdana,  Sans-Serif;
            overflow: auto; 
        }
        .news_border
        {
            background-color: white;
            width:350px;
            height:150px;
            font: normal 100% "Arial", "Lucida Grande",Verdana,  Sans-Serif;
            border: 1px solid gray;
            padding: 5px 5px 5px 5px;
            overflow: auto;	 
        }
        .news_mark{
            background-color:white ;
            font: normal 70% "Arial", "Lucida Grande",Verdana,  Sans-Serif;
            border: 0px solid gray;
            width:361px;
            height:35px;
            color:black;
            text-align:center;
        }
        .news_title{
            font: bold 120% "Arial", "Lucida Grande",Verdana,  Sans-Serif;
            border: 0px solid gray;
            padding: 5px 0px 9px 5px;
            color:blue;
        }
        .news_show img{
 
            margin-left: 5px;
            margin-right: 5px;
 
        }
        .buttondiv
        {
            
            /*float: left;*/
            /*top: 169px;*/
            padding: 5px 5px 5px 5px;
            background-color:white ;
            border: 0px solid gray;
            /*border-top-color: white;*/
            border-top:none;
            height:20px;
        }
    </style>
    <style type="text/css">
        /* Scroller Box */
        .scroller_container {
            position: relative;
            top:5px;
            width: 280px;
            height: 130px;
            overflow:auto;
        }
        
         .scroller_container2 {
            position: relative;
            top:5px;
            width: 280px;
            height: 170px;
            overflow:auto;
        }
        /* Scoller Box */
    </style>

    <script type="text/javascript">
        function showKnowledge(id) {
            window.open('/Modules/Knowledge/KnowledgeView.aspx?id=' + id, null, 'toolbar=no,location=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=900px,height=700px');
        }

        function showNotice(id) {
//            var r = new Object();
//            r.title = '系统公告';
//            r.content = '物资配送系统正式上线';
            //            getHandler(r);
            window.open('/Modules/SystemManagement/NoticeView.aspx?id=' + id, null, 'toolbar=no,location=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=900px,height=700px');
        }

        function getHandler(r) {
            $('#notice2').html(r.content);
            $('#title2').text(r.title);

            var fontsize = 25 - r.title.length / 5;
            if (fontsize <= 0)
                fontsize = 10
            if (r.title.length > 15)
                $('#title2').css("fontSize", fontsize);
            else if (r.title.length > 10)
                $('#title2').css("fontSize", fontsize);
            else
                $('#title2').css("fontSize", fontsize);
            $.blockUI({ message: $('#noticeArea2'),
                timeout: 999999999,
                css: {
                    theme: true,
                    left: ($(window).width() - 600) / 2 + 'px',
                    '-webkit-border-radius': '10px',
                    '-moz-border-radius': '10px',
                    opacity: 1
                },
                onUnblock: hideHandler
            });
        }
        
        function show() {
            $('#noticeArea').css('display', 'inline');
            $.blockUI({ message: $('#noticeArea'),                
                timeout: 999999999,
                css: {
                    theme: true,
                    left: ($(window).width() - 600) / 2 + 'px',
                    '-webkit-border-radius': '10px',
                    '-moz-border-radius': '10px',
                    opacity: 1
                },
                onUnblock: hideHandler
            });
        }

        var inited = false;
        function init() {
            var pageIndex = $('#notice').attr('pageIndex');
            goPage(pageIndex);                 
        }

        function goPage(pageIndex) {            
            var param = new Object();
            param.pageIndex = pageIndex;
            param.method = "List";
            $.post("/Common/Services/NoticeHandler.aspx", param, initHandler, "json");
            $('#index').text(pageIndex);
        }

        function initHandler(r) {            
            $('#total').text(r.total); 
            if (r.total > 0) {
                $('#notice').html(r.content);
                $('#title').text(r.title);

                var fontsize = 25 - r.title.length / 5;
                if (fontsize <= 0)
                    fontsize = 10
                if (r.title.length > 15)
                    $('#title').css("fontSize", fontsize);
                else if (r.title.length > 10)
                    $('#title').css("fontSize", fontsize);
                else
                    $('#title').css("fontSize", fontsize);
                if (!inited) {
                    //show();
                    inited = true;
                }
            }
        }

        function prePage() {
            var pageIndex = parseInt($('#index').text());
            if (pageIndex == 1) {
                alert('已经是第一页');
                return;
            }
            goPage(pageIndex - 1);
        }

        function nextPage() {
            var pageIndex = parseInt($('#index').text());
            var total = $('#total').text();
            if (pageIndex == total) {
                alert('已经是最后一页');
                return;
            }
            goPage(pageIndex + 1);
        }

        function hide() {
            $.unblockUI();
            setTimeout(hideHandler, 1000);
        }

        function hideHandler(e, opts) {
            $('#noticeArea').css('display', 'none');
            $('#noticeArea2').css('display', 'none');
        }

        function known() {
            var param = new Object();
            param.method = "Ignore";
            $.post("/Common/Services/NoticeHandler.aspx", param, knownHandler, "json");
        }

        function knownHandler(r) {
            hide();
        }

        function viewMoreKnowledge() {
            window.open('/Modules/Knowledge/KnowledgeList.aspx?mode=view', null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=750px,height=600px');
        }

        function viewMoreNotice() {
            window.open('/Modules/SystemManagement/NoticeList.aspx?mode=view', null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=750px,height=600px');
        }

        $(document).ready(function () {

//            $("#dialog-confirm").dialog({
//                resizable: false,
//                height: 320,
//                width: 410,
//                modal: true,
//                autoOpen: false,
//                buttons: {
//                    "呼叫移动电话": function () {
//                        alert('呼叫中...');
//                        //$(this).dialog("close");
//                    },
//                    "关闭": function () {
//                        $(this).dialog("close");
//                    }
//                }
//            });

            $("#loading").dialog({
                resizable: false,
                height: 140,
                width: 110,
                modal: true,
                autoOpen: false,
                buttons: {
                }
            });

            $("#returnMessage").dialog({
                resizable: false,
                height: 320,
                width: 330,
                modal: true,
                autoOpen: false,
                title: "提示",
                buttons: {
                    "关闭": function () {
                        $(this).dialog("close");
                    }
                }
            });

            // Add Scroller Object
            $jScroller.config.refresh = 80;
            $jScroller.add("#scroller_container_1", "#scroller_1", "up", 1, true);
            $jScroller.add("#scroller_container_2", "#scroller_2", "up", 1, true);
            // Start Autoscroller
            $jScroller.start();

            var tips = $('#scbar_txt').val();
            $('#scbar_txt').focusin(function () {
                if ($(this).val() == tips) {
                    $(this).val('');
                    $(this).removeClass('scbar_tips');
                }
            })
                .focusout(function () {
                    if (!$(this).val()) {
                        $(this).val(tips);
                        $(this).addClass('scbar_tips');
                    }
                });
            
            var newsoption1 = {
                firstname: "mynews",
                secondname: "showhere",
                thirdname: "news_display",
                fourthname: "news_button",
                newsspeed: '6000',
                playingtitle: "当前播放:",
                nexttitle: "下一条:",
                prevtitle: "上一条:",
                imagedir: "/Resources/Scripts/easynews/"
            }
            $.init_news(newsoption1);

            var myoffset = $('#news_button').offset();

            var mytop = myoffset.top - 1;

            $('#news_button').css({ top: mytop });

           
        });

        function showFrame(index,obj) {
            $(obj).siblings('.body').children().css('display', 'none');
            $(obj).siblings('.body').children(':eq(' + index + ')').css('display', 'inline');
//            $(obj).attr('class', 'title');
//            $(obj).siblings('[class$=title]').attr('class', 'title_behind');
            $(obj).attr('class', 'titlelong');
            $(obj).siblings('[class$=titlelong]').attr('class', 'title_behindlong');
        }

        function uploadTemplate() {
            var template = "/Resources/Templates/资料信息导入模板-全局.xls";
            $('#loading').dialog('open');
            var fileInfo = OpenFileUploaderWithFile("批量导入模板", template);
//            var fileInfo = 'file;file';
//            alert(fileInfo);
//            fileInfo=null;
            if (!fileInfo) {
                $('#loading').dialog('close');
                return;
            }
            if (fileInfo) {
                jQuery.ajax({
                    url: "/Common/Services/BaseInfoFormHandler.aspx",
                    type: "POST",
                    dataType: "text",
                    data: {
                        method: 'UploadArchInfos',
                        file: fileInfo
                    },
                    success: function (result) {
                        if (result == 'ok') {
                            alert('导入成功！');
                        } else {
//                            alert('导入失败！原因：' + result);
                            $("#messageContent").html(result);
                            $('#returnMessage').dialog('open');
                        }
                        $('#loading').dialog('close');
                    },
                    error: function (xmlHttpRequest, textStatus, errorThrown) {
                        alert('系统错误 status:' + xmlHttpRequest.status + ' readyState:' + xmlHttpRequest.readyState + ' textStatus:' + textStatus);
                        $('#loading').dialog('close');
                    }
                });
            }
        }

        function sendLeaveWord() {
            var content = $('#<%=leaveWord.ClientID %>').val();
            if (content == '') {
                alert('留言不能为空，请先填写留言内容。');
                return;
            }
            if (content.length >300) {
                alert('留言内容过长，请减少字数。');
                return;
            }
            $('#loading').dialog('open');
            jQuery.ajax({
                url: "/Common/Services/HomeIndexHandler.aspx",
                type: "POST",
                dataType: "text",
                data: {
                    method: 'SaveLeaveWord',
                    content: content
                },
                success: function (data) {
                    if (data == 'ok') {
                        alert('提交成功！感谢您的留言，我们将尽快处理。');
                    } else {
                        alert('提交失败，请联系管理员。' + data);
                    }
                    $('#<%=leaveWord.ClientID %>').val('');
                    $('#loading').dialog('close');
                },
                error: function (xmlHttpRequest, textStatus, errorThrown) {
                    alert('系统错误 status:' + xmlHttpRequest.status + ' readyState:' + xmlHttpRequest.readyState + ' textStatus:' + textStatus);
                    $('#loading').dialog('close');
                }
            });

           
        }
    </script>   

    <div id="submenucontent">
        <div class="submenu submenu_index">
            <h2 onclick="changeView(this.id)" id="submenuh2_3" runat="server">
                <img src="../../Themes/Default/ico_nohave.gif" id="ico_submenuh2_3" />快速入口</h2>
            <div id="div_submenuh2_3" class="navigation" style="display: block;height:80px" runat="server">
                <a href="/Modules/ArchivesManagement/BaseInfoForm.aspx?id=&action=New&baseInfoType=DW" target="_blank">
                    <img src="/Resources/Images/ez_file_ico.png" width="20px" height="20px"/>
                    <font color="black">录入单位基本信息</font>
                </a><br />
                <a href="/Modules/ArchivesManagement/BaseInfoForm.aspx?id=&action=New&baseInfoType=GTH" target="_blank">
                    <img src="/Resources/Images/ez_file_ico.png" width="20px" height="20px"/>
                    <font color="black">录入个体户基本信息</font>
                </a><br />
                <a href="/Modules/ArchivesManagement/BaseInfoForm.aspx?id=&action=New&baseInfoType=GR" target="_blank">
                    <img src="/Resources/Images/ez_file_ico.png" width="20px" height="20px"/>
                    <font color="black">录入个人基本信息</font>
                </a><br />                
                <a href="/Modules/ArchivesManagement/ZHArchForm.aspx?id=&action=New" target="_blank">
                    <img src="/Resources/Images/ez_file_ico.png" width="20px" height="20px"/>
                    <font color="black">录入综合资料信息</font>
                </a><br />
                <a href="#" onclick="uploadTemplate();">
                    <img src="/Resources/Images/ez_count_ico.png" width="20px" height="20px"/>
                    <font color="black">批量导入资料信息</font>
                </a><br />
            </div>

             <h2 onclick="changeView(this.id)" id="submenuh2_1">
                <img src="../../Themes/Default/ico_nohave.gif" id="ico_submenuh2_1" />常用链接</h2>
            <div class="navigation" id="div_submenuh2_1" style="display: block;height:">
                <%--<uc1:UserInfo ID="UserInfo1" runat="server" />--%>
                <a href="http://150.18.30.130/wps/portal" target="_blank">
                    <img src="/Resources/Images/ez_link_ico.png" width="20px" height="20px"/>
                    <font color="black">统一工作平台</font>
                </a><br />
                <a href="http://150.17.30.39:7050/topinfo.html" target="_blank">
                    <img src="/Resources/Images/ez_link_ico.png" width="20px" height="20px"/>
                    <font color="black">大集中系统</font>
                </a><br />
                <a href="http://150.17.30.125/portal/fzgb/hy/index.htm" target="_blank">
                    <img src="/Resources/Images/ez_link_ico.png" width="20px" height="20px"/>
                    <font color="black">河源市地税局</font>
                </a>
            </div>
                    
            <h2 onclick="changeView(this.id)" id="submenuh2_4">
                <img src="../../Themes/Default/ico_nohave.gif" id="ico_submenuh2_4" />文档下载</h2>
            <div id="div_submenuh2_4" class="navigation" style="display: block;height:">
              <%-- <a href="/Modules/Delivery/Index.aspx"><img src="/Resources/Images/warning.png" width="18px" height="18px"/><font color="black">你有一张配送单已经超过2天没处理</font></a>
               <br />
               <a href="/Modules/Statistics/Index.aspx"><img src="/Resources/Images/warning.png" width="18px" height="18px"/><font color="black">行政服务中心当月金额已经超过预算</font></a>--%>
               <a target="_blank" href="../../Resources/Helps/和平县地税局社保档案管理系统_用户手册.doc">
                    <img src="/Resources/Images/ez_help_ico.png" width="20px" height="20px"/>
                    <font color="black">用户手册</font>
                </a><br />
                <%--<a href="../../Resources/Helps/和平县地税局社保档案管理办法(201012版).doc">
                    <img src="/Resources/Images/ez_file_ico.png" width="20px" height="20px"/>
                    <font color="black">社保档案管理办法</font>
                </a>--%>
            </div>
            <%--<h2 onclick="changeView(this.id)" id="submenuh2_2">
                <img src="../../Themes/Default/ico_nohave.gif" id="ico_submenuh2_2" />配送商通讯录</h2>
            <div id="div_submenuh2_2" class="navigation" style="display: block;height:">
                <div class="contacts_search">
                    <input type="text" class="search_input"/>&nbsp;
                    <img alt="查找" onclick='javascript:$("#dialog-confirm").dialog("open");' src="/Resources/Images/ez_findFile_ico.png" width="20px" height="20px"/>
                </div>
            </div>--%>           
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentHolder" runat="server">
    <table cellpadding="0" cellspacing="2" border="0" width="100%">
        <tr>
            <td id="centerArea" width="450px" valign="top">
                <div style="padding-right: 3px;">
                <div class="" style="display: none">
                    <div class="body">
                       <div id="scbar" class="cl">
                            <form id="scbar_form" target="_blank" action="" onsubmit="return false;" method="post">
                                <table cellspacing="0" cellpadding="0">
                                    <tbody>
                                        <tr style="width:100%">
                                            <td class="scbar_icon_td" style="width:50px"></td>
                                            <td class="scbar_txt_td" style=" width:550px;">
                                                <input id="scbar_txt" class=" xg1 scbar_tips" type="text" 
                                                    value="请输入搜索内容，如档案盒编号、位置、纳税编号、社保号、单位名称..." name="srchtxt"/>
                                            </td>
                                            <td class="scbar_btn_td">
                                                <button id="scbar_btn" class="pn pnc" value="true" name="searchsubmit" onclick="window.open('../ArchivesManagement/BaseInfoList.aspx?type=dw')">
                                                    <strong class="xi2 xs2">搜索</strong>
                                                </button>
                                            </td>
                                            <td class="scbar_hot_td">
                                                <div id="scbar_hot">
                                                    <strong class="xw1"></strong>
                                                </div>
                                            </td>
                                        </tr>
                                    </tbody>    
                                </table>
                            </form>
                        </div>
                    </div>
                </div>
               
                <%--<div class="webpart" id ="divDelayWaring" runat="server">
                    <div id="Div1" class="titlelong" onclick="showFrame(0,this)" style="display:inline;width:135px;cursor:pointer">
                        超时配送单(<span id="spDelayCount" runat="server">0</span>)</div>
                    <div id="Div8" class="title_behindlong" onclick="showFrame(1,this)" style="display:inline;width:135px;cursor:pointer">
                        预警配送单(<span id="spWarningCount" runat="server">0</span>)</div>
                    <div class="body">
                        <div>
                            <uc2:DelayOrderList ID="DelayOrderList1" runat="server" /></div>
                        <div style="display:none;">
                            <uc1:WarningOrderList ID="WarningOrderList1" runat="server" /></div>
                    </div>
                </div>--%>

                    <div class="webpart">
                        <div id="Div4" class="titlelong" onclick="showFrame(0,this)" style="display:inline;width:135px;cursor:pointer">
                            参保类型统计</div>
                        <div id="Div3" class="title_behindlong" onclick="showFrame(1,this)" style="display:inline;width:135px;cursor:pointer">
                            参保户数分类统计</div>
                       
                         <%--<div id="Div5" class="title_behind" onclick="showFrame(2,this)" style="display:inline;width:105px;cursor:pointer">
                            订单总量趋势</div>
                        <div id="Div6" class="title_behind" onclick="showFrame(3,this)" style="display:inline;width:105px;cursor:pointer">
                            签收率趋势</div>--%>
                        
                        <div class="body" align="center">
                        <table width="100%">
                            <tr>
                                <td width="100%" colspan="2">
                                    <uc3:StatByInsuranceControl ID="StatByInsuranceControl1" runat="server" ChartWidth="560" ChartHeight="484"/>
                                </td>
                            </tr>
                        </table>
                        <table width="100%" style="display: none">                            
                            <tr>
                                <td width="100%" colspan="2">
                                    <uc3:StatByDeptControl ID="StatByDeptControl1" runat="server" ChartWidth="560" ChartHeight="484"/>
                                </td>
<%--                                <td width="50%">--%>
                                    <%--uc3:StatByDeptTotalControl ID="StatByDeptControl2" runat="server" ChartWidth="560" ChartHeight="224"/--%>
<%--                                </td>--%>
                            </tr>
                        </table>
                        
                           <%--<div id="chartServDiv" style="text-align:center; padding-left:10px;">
                                <img src="../../Resources/Images/总体配送情况.jpg"/>
                           </div>
                           <div id="chartServDiv2" style="text-align:center;display:none;">
                                <img src="../../Resources/Images/区域订单量.jpg"/>
                           </div>
                           <div id="chartServDiv3" style="text-align:center; padding-left:10px;display:none;">
                                <img src="../../Resources/Images/订单总量趋势图.jpg"/>
                           </div>
                           <div id="chartServDiv4" style="text-align:center; padding-left:10px;display:none;">
                                <img src="../../Resources/Images/签收率趋势图.jpg"/>
                           </div>--%>
                        </div>
                    </div>
                    
                    
                </DIV>
            </td>
            <td valign="top" style="width:300px">
                <div style="padding-right: 3px;">
                    <%--<div align="right">行政服务热线：13922214000</div>--%>
                    <div class="webpart">
                        <div class="title">
                           <table cellspacing="0" cellpadding="0" style="width:270px">
                                <tr>
                                    <td>系统公告</td>
                                    <td style="text-align:right">
                                        <a href='javascript:viewMoreNotice()' style="text-align:right;">更多...</a>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="body" style="height: 145px; padding: 5px;">
                            <div id="scroller_container_1" class="scroller_container">
                                <div id="scroller_1" class="scroller">
                                    <asp:Repeater ID="rptNotices" runat="server">
                                            <ItemTemplate> 
                                                <table>
                                                    <tr>
                                                        <td><a href="<%#"javascript:showNotice('"+Eval("ID")+"')" %>"><img width="18px" height="18px" src="/Resources/Images/news.gif" /></a></td>
                                                        <td><a href="<%#"javascript:showNotice('"+Eval("ID")+"')" %>"><font color="black" size="2"><%#Eval("Title") %>【<%#Eval("PublishTime") %>】</font></a></td>
                                                    </tr>
                                                </table>                                                                              
                                                <br/>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="webpart">
                        <div class="titlelong">
                            <table cellspacing="0" cellpadding="0" style="width: 270px">
                                <tr>
                                    <td>
                                        档案管理有关规定
                                    </td>
                                    <td style="text-align: right">
                                        <a href='javascript:viewMoreKnowledge()' style="text-align: right;">更多...</a>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="body" style="height: 180px; padding: 5px;">
                            <!--This is the left side 1st news hide container-->
                            <div id='mynews'>
                                <asp:Repeater ID="rtpKnowledges" runat="server">
                                            <ItemTemplate>
                                                <div class="news_style" rel='<%# Eval("Title") %>'>
                                                    <table>
                                                        <tr>
                                                            <td>                                                                
                                                                <img src='../../Resources/Scripts/easynews/documents.png' align="left" width="80" height="60">
                                                                <font color="#FF9900"><b><%#Eval("Title") %></b></font> 
                                                                <br /> 
                                                                <%# Eval("Summary") %>
                                                                <a href="<%#"javascript:showKnowledge('"+Eval("KnowledgeID")+"')" %>">【查看详细】</a>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </ItemTemplate>
                                        </asp:Repeater>
                            </div>
                            <%--//News content --%>
                            <div id='showhere' class='news_show'>
                            </div>
                            <%--// for news content display--%>
                            <%--设定按键 --%>
                            <div class='buttondiv' id='news_button'>
                                <img src='../../Resources/Scripts/easynews/prev.gif' align="absmiddle" id='news_prev'>
                                <img src='../../Resources/Scripts/easynews/pause.gif' align="absmiddle" id='news_pause'>
                                <img src='../../Resources/Scripts/easynews/next.gif' align="absmiddle" id='news_next'>
                            </div>
                            <%--设定News标题的显示位置 --%>
                            <div id='news_display'>
                            </div>
                        </div>
                    </div>
                    <div class="webpart">
                        <div class="title">
                            <table cellspacing="0" cellpadding="0" style="width:270px">
                                <tr>
                                    <td>意见反馈</td>
                                    <td style="text-align:right">
                                        <%--<a href='javascript:void(0)' style="text-align:right;">更多...</a>--%>
                                    </td>
                                </tr>
                            </table>    
                        </div>
                        
                        <div class="body" style="height: 140px; padding: 5px;">
                            <asp:TextBox ID="leaveWord" TextMode="MultiLine" Height="90px" Width="280" runat="server"></asp:TextBox>
                            <a href="javascript:sendLeaveWord();" class="linkbtn" style="margin-top:10px; margin-left:230px"><span>提交</span></a>
                        </div>
                    </div>
                </div>
            </td>
        </tr>
    </table>
    <div id="noticeArea" style="display: none;width:610px; height:450px; overflow:auto;">
        <table style="width:100%">
            <tr>
                <td style="background-image:url(/Themes/Default/opinion_button.png);background-repeat:repeat; text-align:center">
                        <font id="title" size="3" style="padding-right:25px" color="white"></font>
                        <img style="position:absolute;right:5px;cursor:pointer;" width="20px" height="20px" onclick="hide();" src="/Resources/Images/icon_stop.gif" />
                </td>
            </tr>
            <tr>
                <td>
                    <div id="notice" pageIndex="1" style="width:600px; height:350px; overflow:auto;">
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <table align="center">
                        <tr>
                            <td>
                                <span id="Span3" runat="server">
                                    <%--<input type="button" class="com_btn3" value="不再提醒" id="Button2" onclick="known()" />--%>
                                    <a class="linkbtn" onclick="known()"  href="#"><span>不再提醒</span></a>
                                </span>
                            </td>
                            <td>
                                <span id="Span1" runat="server">
                                    <%--<input type="button" class="com_btn3" value="上一页" id="imgBtn" onclick="prePage()" />--%>
                                    <a class="linkbtn" onclick="prePage()"  href="#"><span>上一页</span></a>
                                </span>
                            </td>
                            <td>
                                当前页：<font id="index" color="red">1</font>/<font id="total">1</font>
                            </td>
                            <td>
                                <span id="Span2" runat="server">
                                    <%--<input type="button" class="com_btn3" value="下一页" id="Button1" onclick="nextPage()" />--%>
                                     <a class="linkbtn" onclick="nextPage()"  href="#"><span>下一页</span></a>
                                </span>
                            </td>
                            <td>
                                <span id="Span4" runat="server">
                                    <%--<input type="button" class="com_btn3" value="关闭" id="Button3" onclick="hide()" />--%>
                                    <a class="linkbtn" onclick="hide()" href="#"><span>关闭</span></a>
                                </span>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>

    <div id="noticeArea2" style="display: none;width:610px; height:450px; overflow:auto">
        <table style="width:100%">
            <tr>
                <td style="background-image:url(/Themes/Default/opinion_button.png);background-repeat:repeat; text-align:center">
                        <font id="title2" size="4" style="padding-right:25px" color="white"></font>
                        <img style="position:absolute;right:5px;cursor:pointer;" width="25px" height="25px" onclick="hide();" src="/Resources/Images/pause.png" />
                </td>
            </tr>
            <tr>
                <td>
                    <div id="notice2" pageIndex="1" style="width:600px; height:350px; overflow:auto;">
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <table align="center">
                        <tr>
                            
                            <td>
                               <span id="Span8" runat="server">
                                    <input type="button" class="com_btn3" value="关闭" id="Button7" onclick="hide()" />
                                </span>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div id="loading" style="display:none">
	    <table><tr><td style="background-color:"><img src='/Themes/Default/images/loading.gif'/></td><td style="word-break:keep-all; background-color:">数据处理中...</td></tr></table>
    </div>
    <div id="returnMessage" style="display:none;">
                <div style="width:100%;height: 320px"><span id="messageContent"> </span></div>
            </div>
     <%--<div id="dialog-confirm" title="配送商通讯录" style="display:none">
	    <span class="ui-icon ui-icon-contact" style="float:left; margin:0 7px 80px 0;"></span><b>EMS</b>：
        <div style="float:left; margin:0 12px 0px 0;">
            <table>
                <tr></tr>
                <tr>
                    <th>负责人：</th>
                    <td>陈坤</td>
                </tr>
                <tr>
                    <th>移动电话：</th>
                    <td>13877877877</td>
                </tr>
                <tr>
                    <th>固话：</th>
                    <td>80081009890</td>
                </tr>
                <tr>
                    <th>Email：</th>
                    <td>ems@ems.com</td>
                </tr>
            </table>
        </div>
        <div><img style=" position:absolute;" src="/Resources/Images/EMS_LOGO.png" /></div>
    </div>--%>
    <script type="text/javascript">
        if ($(window).attr('screen').width > 1280) {
            $('#centerArea').css('width', 850);
        } else if ($(window).attr('screen').width > 1024) {
            $('#centerArea').css('width', 700);
        }
    </script>
</asp:Content>
